package cn.kgc.ssm.web.service;

import cn.kgc.ssm.web.entity.Member;
import cn.kgc.ssm.web.response.ResponseResult;

import javax.servlet.http.HttpSession;

/**
 * @author 课工场
 * @date 2024/7/31
 * @description
 */
public interface MemberService {
    ResponseResult memberPage(Integer page, Integer limit, String memberName, String level);

    ResponseResult addMember(Member member);

    ResponseResult editMember(Member member);

    ResponseResult deleteMember(Integer[] ids);

    ResponseResult resetPassword(Integer id);

    ResponseResult registerMember(Member member);

    ResponseResult login(String memberName, String password, HttpSession session);
}
